package com.qf.common.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author zdl
 * @date 2025/3/26
 */
@TableName("grass")
@Data
public class Grass {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private String title;
    private String content;
    // 0-草稿 1-发布
    private Integer status;
    // 点赞数
    private Integer likeNum;
    private String imgPath;
    private Date createTime;   //创建时间
    private Date updateTime;   //更新时间
}
